package com.smarthealthcare.ward.mapper;

import java.util.List;
import com.smarthealthcare.ward.domain.Ward;

/**
 * wardMapper接口
 * 
 * @author ruoyi
 * @date 2024-11-23
 */
public interface WardMapper 
{
    /**
     * 查询ward
     * 
     * @param id ward主键
     * @return ward
     */
    public Ward selectWardById(Long id);

    /**
     * 查询ward列表
     * 
     * @param ward ward
     * @return ward集合
     */
    public List<Ward> selectWardList(Ward ward);

    /**
     * 新增ward
     * 
     * @param ward ward
     * @return 结果
     */
    public int insertWard(Ward ward);

    /**
     * 修改ward
     * 
     * @param ward ward
     * @return 结果
     */
    public int updateWard(Ward ward);

    /**
     * 删除ward
     * 
     * @param id ward主键
     * @return 结果
     */
    public int deleteWardById(Long id);

    /**
     * 批量删除ward
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWardByIds(Long[] ids);
}
